Conversation
…tional formatting changes
|
|
||
| **Notes**: | ||
|
|
||
| - I had to use Raspbian 32bit as I believe the Navcoin binaries only come in 32-bit for arm (if I learn otherwise I will update) |
There was a problem hiding this comment.
I think you can use navcoin-6.1.0-aarch64-linux-gnu.tar.gz for 64-bit arm systems. I actually flash my pi-4 to ubuntu and run navcoin-6.1.0-aarch64-linux-gnu.tar.gz.
There was a problem hiding this comment.
acknowledged - will remove comment
| - I am performing all commands from the /home/pi directory | ||
| - At time of writing the latest version of navcoin was 6.1.0 | ||
|
|
||
| 2. Get the latest Navcoin files from [here](https://build.nav.community/binaries/master/navcoin-6.1.0-arm-linux-gnueabihf.tar.gz) |
There was a problem hiding this comment.
it may be more ideal to point to the folder directly instead of the actual file so that you don't have to update this link for future releases.
| @@ -0,0 +1,182 @@ | |||
| --- | |||
| title: How to move from NavPi to Raspberry Pi 4 and CM4 for staking | |||
There was a problem hiding this comment.
I know you started working on this with the purpose of moving from navpi, but it may be beneficial to have a generic tittle for headless setup guide and single out navpi steps in the content.
There was a problem hiding this comment.
agreed - makes total sense - will change in next revision
| pi@raspberrypi:~ $ wget https://build.nav.community/binaries/master/navcoin-6.1.0-arm-linux-gnueabihf.tar.gz | ||
| ``` | ||
|
|
||
| 3. Once downloaded untar the tarball file |
There was a problem hiding this comment.
the numbering is not registered in the preview, not sure how to fix this but it's something related to formatting.
| pi@raspberrypi:~/.navcoin4 $ tar -zxvf bootstrap.tar.gz | ||
| ``` | ||
|
|
||
| 5. Copy your `wallet.dat` file from the NavPi data directry `~/.navcoin4/` to the new Paspberry Pi data directry `~/.navcoin4/` |
There was a problem hiding this comment.
up to this point, all previous steps are the same for anyone who tries to set up a headless node. So it may be a good idea to have a note saying these steps are only required if moving from navpi to make the whole article more universal
|
|
||
| This how to is using the CM4 [CM4104032](https://www.buyapi.ca/product/raspberry-pi-compute-module-4-wireless-4gb-32gb-cm4104032/). | ||
|
|
||
| 1. Assumption is you have a running CM4 (how to can be found [here](https://www.youtube.com/watch?reload=9&v=jp_mF1RknU4)) and ssh access to it |
There was a problem hiding this comment.
4gb model is required and 8gb even better.
|
|
||
| ``` | ||
| pi@raspberrypi:~/.navcoin4 $ cd ~ | ||
| pi@raspberrypi:~ $ navcoin-6.1.0/bin/navcoind -t -daemon -datadir=/home/pi/.nacvoin4 -staking=1 -externalip={IP address} -upnp=0 -rpcbind=127.0.0.1 -rpcallowip=127.0.0.1 -rpcuser=test -rpcpassword=test -upgradewallet & |
There was a problem hiding this comment.
need to check with @aguycalled to verify all the commands
There was a problem hiding this comment.
ok - can update once we hear back
|
New revision can be viewed now here: https://deploy-preview-29--navcoin-knowledge-base.netlify.app//navcoin-core/headless-staking-including-raspberry-pi-4-and-cm4/ |
Description
Created a how to to use a Raspberry Pi 4 or CM4 to stake Navcoin
Issues Resolved
n/a
Preview Links
not sure how this works, to get preview links
Checklist